package com.jiaodacailei.ttv.md.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Dialogue {

    private int number;

    private String name;

    private String japanese;

    private String chineseTranslation;

    private List<String> words = new ArrayList<>();

    public void addWord(String word) {
        words.add(word);
    }
}
